<?php
include "DBConnect.php";

$strSQL = " SELECT login FROM usuario WHERE id_usuario = " . $_SESSION["usuario"];
$User = execute($strSQL);

$i = 0;
$i = mysql_num_rows($User);

if ($i > 0){
	while ($linha = mysql_fetch_array($User)) {
		$nomeUsuario = $linha["login"];
	}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
	<HEAD>
		<TITLE>SRSystem - <?echo $nomeUsuario?></TITLE>
		<LINK rel="shortcut icon" href="layout/Icon.png" type="image/x-icon" />
		<style>
			*{
				margin: 0;
				padding: 0;
			}
		</style>
	</HEAD>
	<FRAMESET rows="5%,5%,*">
		<FRAME scrolling="NO" src="" name="top" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="NO" />
		<FRAME src="menu_top.php" name="menu" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="NO"/>
		<FRAMESET cols="10%,*">
			<FRAME src="menu_left.php" name="left" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="NO"/>
			<FRAME src="" name="content" frameborder="0" marginheight="0" marginwidth="0" noresize scrolling="NO"/>
		</FRAMESET>
	</FRAMESET>
</HTML>